import baiyang from '@/assets/fortune/baiyang.png';
import chunv from '@/assets/fortune/chunv.png';
import jinniu from '@/assets/fortune/jinniu.png';
import juxie from '@/assets/fortune/juxie.png';
import moxie from '@/assets/fortune/moxie.png';
import sheshou from '@/assets/fortune/sheshou.png';
import shizi from '@/assets/fortune/shizi.png';
import shuangyu from '@/assets/fortune/shuangyu.png';
import shuangzi from '@/assets/fortune/shuangzi.png';
import shuiping from '@/assets/fortune/shuiping.png';
import tiancheng from '@/assets/fortune/tiancheng.png';
import tianxie from '@/assets/fortune/tianxie.png';



interface IConstellationItem {
  title: string;
  imgurl: string;
  date:string,
  type:string
}

// 十二星座
const constellation:IConstellationItem[] = [
  {
    title: '水瓶座',
    imgurl: 'https://img-fe.tengzhihh.com/image/28e26295bbae35-240x318.png',
    date: '1.20~2.18',
    type: "aquarius"
  },
  {
    title: '双鱼座',
    imgurl: 'https://img-fe.tengzhihh.com/image/a2688707c0f43d-240x318.png',
    date: '2.19~3.20',
    type: "pisces"
  },
  {
    title: '白羊座',
    imgurl: 'https://img-fe.tengzhihh.com/image/a0cbf7d5e3f14b-240x318.png',
    date:'3.21~4.19',
    type:'aries',
  },
  {
    title: '金牛座',
    imgurl: 'https://img-fe.tengzhihh.com/image/f37ab4e4fb323a-240x318.png',
    date: '4.20~5.20',
    type: "taurus"
  },
  {
    title: '双子座',
    imgurl: 'https://img-fe.tengzhihh.com/image/76530b201b9ee6-240x318.png',
    date: '5.21~6.21',
    type: "gemini"
  },
  {
    title: '巨蟹座',
    imgurl: 'https://img-fe.tengzhihh.com/image/69268760e28b64-240x318.png',
    date: '6.22~7.22',
    type: "cancer"
  },
  {
    title: '狮子座',
    imgurl: 'https://img-fe.tengzhihh.com/image/3e0e5055bece66-240x318.png',
    date: '7.23~8.22',
    type: "leo"
  },
  {
    title: '处女座',
    imgurl: 'https://img-fe.tengzhihh.com/image/8dc074370b2391-240x318.png',
    date: '8.23~9.22',
    type: "virgo"
  },
  {
    title: '天秤座',
    imgurl: 'https://img-fe.tengzhihh.com/image/5393fe4636455c-240x318.png',
    date: '9.23~10.23',
    type: "libra"
  },
  {
    title: '天蝎座',
    imgurl: 'https://img-fe.tengzhihh.com/image/bdaa1c3c6bcb42-240x318.png',
    date: '10.24~11.22',
    type: "scorpio"
  },
  {
    title: '射手座',
    imgurl: 'https://img-fe.tengzhihh.com/image/3ce126b20f8b0c-240x318.png',
    date: '11.23~12.21',
    type: "sagittarius"
  },
  {
    title: '魔蝎座',
    imgurl: 'https://img-fe.tengzhihh.com/image/074c421f960515-240x318.png',
    date: '12.22~1.19',
    type: "capricorn"
  },

]

const getConstellationImg = (type:string) => {
  switch (type) {
    case '白羊座':
      return baiyang;
    case '处女座':
      return chunv;
    case '金牛座':
      return jinniu;
    case '巨蟹座':
      return juxie;
    case '摩羯座':
      return moxie;
    case '射手座':
      return sheshou;
    case '狮子座':
      return shizi;
    case '双鱼座':
      return shuangyu;
    case '双子座':
      return shuangzi;
    case '水瓶座':
      return shuiping;
    case '天秤座':
      return tiancheng;
    case '天蝎座':
      return tianxie;
    default:
      return ''; // 如果没有匹配到，默认返回空字符串或者其他你想要的默认值
  }
};


export {
  constellation,
  getConstellationImg
};
